package com.ssy.lingxi.order.api.model.openapi.request;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 订单合同接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-10-16
 */
public class OpenApiContractVO implements Serializable {
    private static final long serialVersionUID = -7924505674519351101L;

    /**
     * 合同文件名称
     */
    @NotBlank(message = "合同文件名称不能为空")
    @Size(max = 255, message = "合同文件名称最长255个字符")
    private String fileName;

    /**
     * 合同文件Url
     */
    @NotBlank(message = "合同文件Url不能为空")
    @Size(max = 400, message = "合同文件Url最长400个字符")
    private String url;

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
